import moment from 'moment'

export function getTimeForQiniu(date) {
    if (!date) {
        date = new Date()
    }
    if (typeof date != 'object') {
        date = new Date(date)
    }
    var a = moment(date).format('YYYY_MM_DD/HH_mm_ss_')
    return a
}